import instance from '../utils/request'


//学生端可视化数据
// 城市平均薪资
export const averageSalaries = () => {
    return instance({
        url: '/averageSalaries',
        method: 'GET',
    })
}

// 城市岗位数量
export const cityCounts = () => {
    return instance({
        url: '/cityCounts',
        method: 'GET',
    })
}

// 地图就业率，平均薪资数据
export const employmentRate = () => {
    return instance({
        url: '/employmentRate',
        method: 'GET',
    })
}

// 领域排名
export const fieldCounts = () => {
    return instance({
        url: '/fieldCounts',
        method: 'GET',
    })
}

// 广东省内外毕业生人数
export const graduates = () => {
    return instance({
        url: '/graduates',
        method: 'GET',
    })
}

// 福利词云
export const welfare = () => {
    return instance({
        url: '/welfare',
        method: 'GET',
    })
}

// 学历与就业比例
export const educationLevel = () => {
    return instance({
        url: '/educationLevel',
        method: 'GET',
    })
}

// 招聘会
export const recruitmenFair = () => {
    return instance({
        url: '/recruitmentFair',
        method: 'GET',
    })
}

//个人中心根据简历词云
export const generateByResume = () => {
    return instance({
        url: '/user/generateByResume',
        method: 'GET',
    })
}

//全国数据
export const getChinaData = () => {
    return instance({
        url: '/getChinaData',
        method: 'GET',
    })
}

//省内数据
export const getProvinceData = () => {
    return instance({
        url: '/getProvinceData',
        method: 'GET',
    })
}

//学院数据
export const getSchoolData = () => {
    return instance({
        url: '/getSchoolData',
        method: 'GET',
    })
}


//企业端可视化数据
//近两年就业人数
export const employment = () => {
    return instance({
        url: '/employ/visual/employment',
        method: 'GET',
    })
}

// 求职技能词云
export const jobSkill = () => {
    return instance({
        url: '/employ/visual/jobSkill',
        method: 'GET',
    })
}

//毕业生学历比例
export const education = () => {
    return instance({
        url: '/employ/visual/education',
        method: 'GET',
    })
}

//求职动机
export const jobMotivation = () => {
    return instance({
        url: '/employ/visual/jobMotivation',
        method: 'GET',
    })
}

//各省份就业人数
export const regionalEmployment = () => {
    return instance({
        url: '/employ/visual/regionalEmployment',
        method: 'GET',
    })
}

//各行业月薪
export const salary = () => {
    return instance({
        url: '/employ/visual/salary',
        method: 'GET',
    })
}


//期望薪资
export const salsalaryDistributionary = () => {
    return instance({
        url: '/employ/visual/salaryDistribution',
        method: 'GET',
    })
}

//最高学历
export const educationDistribution = () => {
    return instance({
        url: '/employ/visual/educationDistribution',
        method: 'GET',
    })
}


//工作经验
export const experienceDistribution = () => {
    return instance({
        url: '/employ/visual/experienceDistribution',
        method: 'GET',
    })
}

//王牌专业
export const topUniversities = () => {
    return instance({
        url: '/employ/visual/topUniversities',
        method: 'GET',
    })
}

//不同渠道入职人数
export const recruitmentChannelsVO = () => {
    return instance({
        url: '/employ/visual/recruitmentChannelsVO',
        method: 'GET',
    })
}


